@mixin T_fixed($top:0, $right:0, $bottom:0, $left:0) {
    position: fixed;
    top: $top;
    right: $right;
    bottom: $bottom;
    left: $left;
}
.T_nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@mixin T_abs($top:0, $left:0) {
    position: absolute;
    left: $left;
    top: $top;
}

@mixin T_wh($width:100%, $height:100%, ) {
    height: $height;
    width: $width;
}

@mixin T_linear($linear...) {
    background: linear-gradient($linear);
    background: -webkit-linear-gradient($linear);
    background: -moz-linear-gradient($linear);
    background: -ms-linear-gradient($linear);
    background: -o-linear-gradient($linear);
}

@mixin T_border($color, $width:1px, $type:solid, ) {
    border: $width $type $color;
}

@mixin T_border_radius($radius:50%) {
    border-radius: $radius;
    -webkit-border-radius: $radius;
    -moz-border-radius: $radius;
    -ms-border-radius: $radius;
    -o-border-radius: $radius;
}

@mixin T_tansform($trans...) {
    transform: $trans;
    -webkit-transform: $trans;
    -moz-transform: $trans;
    -ms-transform: $trans;
    -o-transform: $trans;
}

@mixin T_shadow($shadow...) {
    box-shadow: $shadow;
    -webkit-box-shadow: $shadow;
    -moz-box-shadow: $shadow;
    -ms-box-shadow: $shadow;
    -o-box-shadow: $shadow;
}

@mixin T_flex_row($justify:center, $align:center) {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    align-items: $align;
    justify-content: $justify;
}

@mixin T_flex_column($justify:center, $align:center) {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    align-items: $align;
    justify-content: $justify;
}

@mixin Animation($animate...) {
    animation: $animate;
    -webkit-animation: $animate;
    -moz-animation: $animate;
    -ms-animation: $animate;
    -o-animation: $animate;
}

@mixin T_font_one($a:.18rem, $b:.3rem, $c:#fff) {
    font-size: $a;
    line-height: $b;
    color: $c;
}

@mixin clearfix {
    &:after {
      content: "";
      display: table;
      clear: both;
    }
  }
  
  @mixin scrollBar {
    &::-webkit-scrollbar-track-piece {
      background: #d3dce6;
    }
    &::-webkit-scrollbar {
      width: 6px;
    }
    &::-webkit-scrollbar-thumb {
      background: #99a9bf;
      border-radius: 20px;
    }
  }
  
  @mixin relative {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  @mixin pct($pct) {
    width: #{$pct};
    position: relative;
    margin: 0 auto;
  }
  
  @mixin triangle($width, $height, $color, $direction) {
    $width: $width/2;
    $color-border-style: $height solid $color;
    $transparent-border-style: $width solid transparent;
    height: 0;
    width: 0;
    @if $direction==up {
      border-bottom: $color-border-style;
      border-left: $transparent-border-style;
      border-right: $transparent-border-style;
    }
    @else if $direction==right {
      border-left: $color-border-style;
      border-top: $transparent-border-style;
      border-bottom: $transparent-border-style;
    }
    @else if $direction==down {
      border-top: $color-border-style;
      border-left: $transparent-border-style;
      border-right: $transparent-border-style;
    }
    @else if $direction==left {
      border-right: $color-border-style;
      border-top: $transparent-border-style;
      border-bottom: $transparent-border-style;
    }
  }
  @mixin T_flex_row($justify:center, $align:center) {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    align-items: $align;
    justify-content: $justify;
  }